﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$page_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$view_charset}" />
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<link rel="shortcut icon" href="favicon.ico">
<!--{css(all.css)}-->

</head>

<body>
<div id="page"> 
  
  <!--{inc(header.view.html)}--> 
  
  <!--{inc(rollpic.view.html)}--> 
  
  <!--内容体开始-->
  <div id="allbody">
    <div class="allbody_left"> 
      
      <!--放入登入模块--> 
      <!--{if ($login_icon == false)}--> 
      
      <!--{inc (login_w.view.html)}--> 
      
      <!--{/if}--> 
      
      <!--放入分类模块--> 
      <!--{inc (sort_g.view.html)}--> 
      
    </div>
    <div class="allbody_right">
      <div class="allbody_right_all">
        <div class="allbody_right_top">{$data.title}</div>
        <div class="allbody_right_body"> 
          <!--放入内容模块-->
          
          <table width="100%" border="0" cellspacing="0" cellpadding="3" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
            <tr>
              <td colspan="2" class="a1" style="padding-left:5px;padding-top:2px;"><b>商品基本信息</b></td>
            </tr>
            <tr>
              <td width="65%" class="a1" bgcolor="#FFFFFF" align="center"><br>
                <style>
/**图片展示*/
.picshow{ width:350px; margin-top:5px; text-align:center; clear:both; margin-left:20PX;}
.picbig{ width:350px; height:300px; border:4px #CCCCCC solid;background-color:#ffffff; text-align:center;}
.picmin{ cursor:hand; table-layout:fixed; z-index:-100;}
.bgck{  width:50px; height:50px; margin-top:5px; margin-bottom:15px; border:3px #0E517B solid; filter: Alpha(Opacity=100); text-align:center}
.unbgck{width:50px; height:50px; margin-top:5px; margin-bottom:15px; border:3px #CCCCCC solid; filter: Alpha(Opacity=50) ; text-align:center}
.show_pro_conent{ padding:10px; line-height:220%; font-size:14px; background-color:#fbfbfb;}
</style>
                <table  width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
                  <tr>
                    <td width="100" align="right" ><div id="min_pics"> 
                        
                        <!--{foreach($upfiledata as $_key => $_value )}-->
                        <div class="bgck"> <img src="{$_value.file_url|picdir}" width="50" height="50" border="0" onmouseover="changegibpic('{$_value.file_url|picdir}',{$_key});" onerror="this.src='{$site_url}/data/images/nopic.gif'" class="picmin"/></div>
                        <!--{/foreach}--> 
                        
                      </div></td>
                    <td width="400" align="LEFT"><div title="图片展示" class="picshow">
                        <table width="100%" cellspacing="0" cellpadding="0">
                          <tr>
                            <td valign="middle" style="vertical-align:middle;"><div class="picbig" id="showbigpic">
                            <a href='<!--{if ($upfiledata.0.file_url|picdir)}--> {$upfiledata.0.file_url|picdir}  <!--{/if}--> ' target='_blank'>
                            <img src='<!--{if ($upfiledata.0.file_url|picdir)}--> {$upfiledata.0.file_url|picdir}  <!--{/if}-->' onerror="this.style.display='none';" border="0" width="350" height="300" style="width:350px; height:300px;"></a></div></td>
                          </tr>
                        </table>
                      </div>
                      <script language="javascript">
            var i=1;
            function changegibpic(url,id){
                if(url!=''){
                    document.getElementById('showbigpic').innerHTML="<a href='"+url+"' target='_blank'><img src='"+url+"' border='0' id='mypic_"+String(i)+"' border='0' width='350' height='300' style='width:350px; height:300px;'></a>";
                    i++;
                    var min_pics=document.getElementById("min_pics");
                    var divs=min_pics.getElementsByTagName("div");
                    for(var i=0;i<divs.length;i++){
                        if(i==id){
                            divs[i].className='bgck';
                        }else{
                            divs[i].className='unbgck';
                        }
                    }
                }
            }
        </script></td>
                  </tr>
                </table></td>
              <td width="35%" bgcolor="#FFFFFF" style="vertical-align:top;"><table width="100%" border="0" cellspacing="1" cellpadding="2" >
                  <tr>
                    <td width="30%">商品名称:</td>
                    <td width="70%"><b>{$data.title}</b></td>
                  </tr>
                  <tr>
                    <td width="30%">价格:</td>
                    <td width="70%"><font id="hits">{$data.price}</font></td>
                  </tr>
                  <!--                  
                    <tr> 
                      <td width="30%">浏览人次:</td>
                      <td width="70%"><font id="hits">{$data.visit_num}</font></td>
                    </tr>-->
                  <tr>
                    <td width="30%">发 布 者:</td>
                    <td width="70%">{$data.user_name}</td>
                  </tr>
                  <tr>
                    <td width="30%">发布日期:</td>
                    <td width="70%">{$data.add_time|dateymdgis}</td>
                  </tr>
                </table></td>
            </tr>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="3" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
            <tr>
              <td class="a1" style="padding-left:5px;padding-top:12px;"><b>商品介绍</b></td>
            </tr>
            <tr>
              <td  bgcolor="#FFFFFF"><table width="100%" cellspacing="3" cellpadding="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                  <tr>
                    <td> {$data.content} </td>
                  </tr>
                </table></td>
            </tr>
          </table>
        </div>
      </div>
    </div>
    
    <!--放入尾部模块--> 
    <!--{inc(footer.view.html)}--> 
    
  </div>
  <!--内容体结束--> 
  
</div>
</body>
</html>